spi: cadence_qspi: Fix clearing of pol/pha bits
authorPhil Edworthy <[email protected]>
Tue, 29 Nov 2016 12:58:26 +0000 (12:58 +0000)
committerJagan Teki <[email protected]>
Thu, 15 Dec 2016 15:57:27 +0000 (16:57 +0100)
commitcc80a897e4fafbd9e9b6920eb866f0600a5cd5ee
tree6318e50e26090b158cc1afa56bcafd05c716a743
parent1b7c28f5147144d7902d048ca90be58987899c25
spi: cadence_qspi: Fix clearing of pol/pha bits

Or'ing together bit positions is clearly wrong.

Signed-off-by: Phil Edworthy <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
drivers/spi/cadence_qspi_apb.c